// out: ../../css/announce/announce.css

// 引入基本样式
@import url("../base/base.less");

// 扫描二维码下载
@import url("../common/down.less");

body {
  background-color: #000;

  .nav-top {

    position: fixed;
    display: flex;
    align-items: center;
    height: 60px;
    margin: 0 auto;
    z-index: 5;
    width: 100%;
    background-color: rgba(25, 25, 25, 0.8);

    .logo {
      width: 150px;
      height: 40px;
      display: block;
      margin-left: 10px;
      background: url("../../assets/announce/logo.webp") no-repeat left/contain;
      margin-right: 245px;
    }

    .logo-text {
      display: block;
      width: 90px;
      height: 54px;
      background: url("../../assets/announce/main-logo.webp") no-repeat right/146px;
      position: absolute;
      left: 160px;
      top: 5px;

    }

    .nav {
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      // align-items: center;
      width: 604px;
      height: 60px;

      a {
        margin-top: 12px;
        height: 46px;
        width: 64px;
        text-align: center;
        color: #6e6a63;

        span {
          display: block;
          font-size: 8px;
          color: #464441;
        }
      }

      .active {
        color: #c39b5e;
        border-bottom: 1px solid #c39b5e;

        span {
          font-size: 8px;
          color: #464441;
        }
      }
    }
  }

  // 轮播图
  .banner {
    padding-top: 60px;
    height: 598px;
    width: 100%;

    // background-color: pink;
    // 轮播图图片
    .swiper {
      margin: 26px 0;
      height: 450px;
      // background: skyblue;
      // overflow: visible;

      .swiper-wrapper {

        // 图片不激活
        .swiper-slide {
          .swiper-contain {
            height: 450px;
            width: 752px;
            margin-left: -90px;

            img {
              // width: 750px;
              // height: 450px;
              width: 100%;
              height: 100%;
              // margin-bottom: -300px;
            }

            .banner-title {
              position: absolute;
              width: 752px;
              height: 129px;
              // z-index: 11;
              background: rgba(0, 0, 0, .85);
              bottom: 0;
              color: #fff;
              text-align: center;
              .banner-tit1{
                margin-top: 16px;
                font-size: 25px;
                line-height: 45px;
                span{
                  color: #c39b5e;
                }
              }
              .banner-time{
                line-height: 30px;
                font-size: 11px;
                color: #fff;
              }
              .banner-con{
                line-height: 40px;
                font-size: 11px;
                color: #8f897f;
              }
            }

          }

          .swiper-slide-shadow-left{
            margin-left: 132px;
            background: rgba(58, 56, 56, 0.8);
            // background: rgba(103, 103, 103 .95);
            // .banner-time{
            //   display: none;
            // }
          }
          .swiper-slide-shadow-right{
            margin-left: -132px;
            background: rgba(58, 56, 56, 0.8);
          }


        }

        // 图片激活
        // .swiper-slide-active {
        //   // position: absolute;
        //   // overflow: visible;
        //   // scale: 1.1;
        //   bottom: 0;
        //   z-index: 999;

        //   .swiper-contain {
        //     .banner-title {
        //       position: absolute;
        //       width: 751px;
        //       height: 140px;
        //       // background: rgba(91, 47, 47, 0.85);
        //       bottom: 0;
        //       color: #fff;
        //       text-align: center;
        //     }
        //     .left{
        //       position: absolute;
        //       top: 0;
        //       height: 450px;
        //       width: 700px;
        //       left: -90px;
        //       // background-color: rgba(12, 12, 12, 0.6);
        //     }
        //   }


        // }
      }
    }

    // 轮播图分页器
    .swiper-pagination {
      // 把绝对定位改为相对定位
      position: relative;
      margin: 0;
      height: 13px;
      width: 100%;
      // background-color: rgb(157, 120, 192);
      margin-bottom: 22px;

      // margin-bottom: 170px;
      .swiper-pagination-bullet {
        background-color: #4d4d4f;
        opacity: 1;
        margin: 0 5px;
        height: 1px;
        width: 27px;
        border-radius: 0;
      }

      .swiper-pagination-bullet-active {
        background-color: #c39b5e;
      }
    }
  }

  // 皮肤
  .new-skin {
    margin: 0 auto;
    width: 1050px;
    height: 891px;
    padding-top: 75px;

    // 皮肤标题
    .skin-title {
      margin-bottom: 60px;
      height: 33px;
      line-height: 33px;

      // background-color: skyblue;
      h1 {
        position: relative;
        scale: 0.75;
        text-align: center;
        color: #b98c52;
        font-size: 30px;
        font-weight: bold;

        &::before {
          content: "";
          position: absolute;
          width: 175px;
          height: 10px;
          top: 40px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat 0 -109px;
        }

        &::after {
          content: "";
          position: absolute;
          width: 37px;
          height: 49px;
          top: -54px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat -255px 0;
          // background-size: contain;
          // z-index: 999;
        }
      }
    }

    // 最新皮肤
    .skin-main {
      // position: relative;
      height: 525px;
      background-color: purple;
      background: left/contain url("../../assets/announce/skin/main.webp") no-repeat;

      .main-mask {
        width: 367px;
        height: 100%;
        // position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(12, 14, 18, 0.9);

        .main-aside {
          position: relative;
          margin: 8px 15px;
          border-left: 1px solid rgba(185, 140, 82, .1);
          border-right: 1px solid rgba(185, 140, 82, .1);
          padding-left: 15px;
          padding-top: 26px;
          width: 337px;
          height: 498px;

          h1 {
            height: 81px;
            color: #b98c52;
            font-size: 39px;
            font-weight: bold;

            span {
              margin-top: 0px;
              display: block;
              height: 40px;
              line-height: 40px;
            }
          }

          .explain {
            margin: 15px 0;
            height: 20px;
            line-height: 20px;
            width: 180px;
            border: solid 1px #c39b5e;
            color: #b98c52;
            border-radius: 6px;
            padding-left: 4px;
            font-size: 10px;
          }

          .time {
            margin: 22px 0 11px 28px;
            position: relative;
            margin: 30px 0 15px 0;
            padding-left: 34px;
            padding-top: 2px;
            height: 22px;
            line-height: 22px;
            font-size: 15px;
            color: #FFF;

            &::before {
              content: "";
              // vertical-align: middle;

              scale: 0.75;
              position: absolute;
              top: 0;
              left: 0;
              height: 27px;
              width: 28px;
              background: -151px -18px url("../../assets/announce/icon-bg.webp") no-repeat;
            }
          }

          .gif {
            width: 300px;
            height: 168px;
          }

          .check {
            position: absolute;
            text-align: center;
            border: solid 1px #c39b5e;
            color: #c39b5e;
            background-color: #000000;
            width: 300px;
            height: 42px;
            line-height: 42px;
            font-size: 14px;
            bottom: 35px;
            overflow: hidden;

            span {
              // position: absolute;
              display: block;
            }

            &:hover {
              span {
                // 
                animation:
                  .1s slideUp linear normal,
                  .1s .1s slideDown linear normal;

                @keyframes slideUp {
                  0% {
                    transform: translateY(0);
                  }

                  100% {
                    transform: translateY(-76%);
                  }
                }

                @keyframes slideDown {
                  0% {
                    transform: translateY(76%);
                  }

                  100% {
                    transform: translateY(0%);
                  }
                }

              }


            }

          }
        }
      }
    }

    // 近期新皮肤
    .skin-last {
      height: 135px;
      margin: 34px 0;
      // background-color: pink;
      display: flex;
      justify-content: space-between;

      li {
        position: relative;
        width: 255px;
        height: 135px;
        cursor: pointer;
        overflow: hidden;

        a {
          // line-height: 135px;
          position: relative;
          width: 255px;
          height: 135px;
          font-size: 12px;
          display: inline-block;

          img {
            width: 255px;
            height: 135px;
            transition: all 0.5s;
          }

          .hero-name {
            position: absolute;
            text-align: center;
            width: 100%;
            padding-bottom: 5px;
            z-index: 4;
            color: #e6e6e6;
            bottom: 0px;
            // display: none;
          }

          // 悬浮蒙版
          .show-mask {
            // display: block;
            display: none;
            position: absolute;
            text-align: center;
            top: 0;
            width: 100%;
            height: 135px;
            // line-height: 135px;
            background-color: rgba(0, 0, 0, 0.4);
            opacity: 0;
            transition: all 0.5s;

            .hero-n {
              padding-top: 40px;
              display: block;
              color: #c3aa68;
              font-weight: bold;
              font-size: 17px;
            }

            .hero-skill {
              display: block;
              color: #bbb5ac;
            }

            .hero-time {
              display: block;
              color: #bbb5ac;
            }
          }


        }

        &:hover {
          a {
            img {
              transform: scale(1.1);
            }

            .hero-name {
              display: none;
            }

            .show-mask {
              display: block;
              opacity: 1;
            }
          }
        }


        &::after {
          content: "";
          position: absolute;
          height: 100%;
          width: 100%;
          top: 0;
          left: 0;
          background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
        }
      }


    }

  }

  // 新英雄
  .new-hero {
    margin: 0 auto;
    width: 1050px;
    height: 693px;
    // background-color: skyblue;
    padding-top: 75px;

    // 英雄标题
    .skin-title {
      margin-bottom: 60px;
      height: 33px;
      line-height: 33px;

      // background-color: skyblue;
      h1 {
        position: relative;
        scale: 0.75;
        text-align: center;
        color: #b98c52;
        font-size: 30px;
        font-weight: bold;

        &::before {
          content: "";
          position: absolute;
          width: 175px;
          height: 10px;
          top: 40px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat 0 -109px;
        }

        &::after {
          content: "";
          position: absolute;
          width: 37px;
          height: 49px;
          top: -54px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat -100px 0;
          // background-size: contain;
          // z-index: 999;
        }
      }
    }

    // 最新英雄
    .skin-main {
      // position: relative;
      height: 525px;
      background-color: purple;
      background: left/contain url("../../assets/announce/hero/main.webp") no-repeat;

      .main-mask {
        width: 367px;
        height: 100%;
        // position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(12, 14, 18, 0.9);

        .main-aside {
          position: relative;
          margin: 8px 15px;
          border-left: 1px solid rgba(185, 140, 82, .1);
          border-right: 1px solid rgba(185, 140, 82, .1);
          padding-left: 15px;
          padding-top: 26px;
          width: 337px;
          height: 498px;

          h1 {
            height: 81px;
            color: #b98c52;
            font-size: 39px;
            font-weight: bold;

            span {
              margin-top: 0px;
              display: block;
              height: 40px;
              line-height: 40px;
            }
          }

          .explain {
            margin-top: 10px;
            margin-left: -40px;
            scale: 0.75;
            height: 70px;
            line-height: 70px;
            width: 100%;
            background: 0 -210px no-repeat url("../../assets/announce/hero/hero-sort.webp");
          }

          .time {
            // margin: 22px 0 11px 28px;
            position: relative;
            margin: 4px 0 15px 0;
            padding-left: 34px;
            padding-top: 2px;
            height: 22px;
            line-height: 22px;
            font-size: 15px;
            color: #FFF;

            &::before {
              content: "";
              // vertical-align: middle;

              scale: 0.75;
              position: absolute;
              top: 0;
              left: 0;
              height: 27px;
              width: 28px;
              background: -151px -18px url("../../assets/announce/icon-bg.webp") no-repeat;
            }
          }

          .gif {
            width: 300px;
            height: 168px;
          }

          .check {
            position: absolute;
            text-align: center;
            border: solid 1px #c39b5e;
            color: #c39b5e;
            background-color: #000000;
            width: 300px;
            height: 42px;
            line-height: 42px;
            font-size: 14px;
            bottom: 35px;
            overflow: hidden;

            span {
              // position: absolute;
              display: block;
            }

            &:hover {
              span {
                // 
                animation:
                  .1s slideUp linear normal,
                  .1s .1s slideDown linear normal;

                @keyframes slideUp {
                  0% {
                    transform: translateY(0);
                  }

                  100% {
                    transform: translateY(-76%);
                  }
                }

                @keyframes slideDown {
                  0% {
                    transform: translateY(76%);
                  }

                  100% {
                    transform: translateY(0%);
                  }
                }

              }


            }

          }
        }
      }
    }
  }

  // 其他
  .mode {
    margin: 0 auto;
    width: 1050px;
    margin-top: 37px;
    height: 618px;
    // background-color: purple;

    // 其他标题
    .skin-title {
      margin-bottom: 35px;
      height: 33px;
      line-height: 33px;
      padding-top: 75px;

      // background-color: skyblue;
      h1 {
        position: relative;
        scale: 0.75;
        text-align: center;
        color: #b98c52;
        font-size: 30px;
        font-weight: bold;

        &::before {
          content: "";
          position: absolute;
          width: 175px;
          height: 10px;
          top: 40px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat 0 -109px;
        }

        &::after {
          content: "";
          position: absolute;
          width: 37px;
          height: 49px;
          top: -54px;
          left: 50%;
          transform: translateX(-50%);
          background: url("../../assets/announce/icon-bg.webp") no-repeat -31px -64px;
          // background-size: contain;
          // z-index: 999;
        }
      }
    }

    .mode-contain {
      height: 509px;
      width: 100%;
      padding-top: 60px;
      // background-color: skyblue;
      display: flex;
      justify-content: space-between;

      // 其他左侧内容
      .left {
        position: relative;
        width: 522px;
        height: 99.7%;
        border: solid 1px #252525;
        overflow: hidden;

        img {
          object-fit: contain;
          transition: all 0.5s;
        }

        .bottom-mask {
          position: absolute;
          padding-top: 168px;
          bottom: 0;
          height: 375px;
          width: 100%;
          text-align: center;
          background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, .8));

          .mask-tit {
            font-size: 22px;
            line-height: 60px;
            color: #fff;
          }

          .mask-time {
            font-size: 11px;
            line-height: 24px;
            color: #ccc;
          }

          .mask-txt {
            line-height: 24px;
            color: #999;
            font-size: 11px;
          }

          .mask-more {
            margin: 22px 163px;
            width: 195px;
            height: 45px;
            line-height: 45px;
            color: #c39b5e;
            font-size: 14px;
            border: solid 1px #c39b5e;
            background-color: #000;
            overflow: hidden;

            span {
              display: block;
            }

            &:hover {
              span {
                // 
                animation:
                  .1s slideUp linear normal,
                  .1s .1s slideDown linear normal;

                @keyframes slideUp {
                  0% {
                    transform: translateY(0);
                  }

                  100% {
                    transform: translateY(-76%);
                  }
                }

                @keyframes slideDown {
                  0% {
                    transform: translateY(76%);
                  }

                  100% {
                    transform: translateY(0%);
                  }
                }

              }

            }
          }


        }

        &:hover {
          img {
            transform: scale(1.1);
          }
        }

        &::after {
          scale: 0.75;
          content: "";
          position: absolute;
          width: 129px;
          height: 56px;
          margin-left: -16px;
          left: 0;
          top: 12px;
          background: url("../../assets/announce/mode/icon1.webp");
        }
      }

      .right {
        width: 508px;
        height: 99.7%;

        // background-color: rgb(174, 29, 41);
        li {
          width: 100%;
          height: 216px;
          border: solid 1px #252525;
          overflow: hidden;
          position: relative;

          img {
            height: 435px;
            width: 100%;
            transition: all 0.5s;
          }

          &:hover {
            img {
              transform: scale(1.1);
            }
          }

          &:nth-child(1) {
            &::after {
              scale: 0.75;
              content: "";
              position: absolute;
              width: 129px;
              height: 56px;
              margin-left: -18px;
              left: 0;
              top: 4px;
              background: url("../../assets/announce/mode/icon2.webp");
            }
          }

          &:nth-child(2) {
            margin-top: 16px;

            &::after {
              scale: 0.75;
              content: "";
              position: absolute;
              width: 129px;
              height: 56px;
              margin-left: -16px;
              left: 0;
              top: 4px;
              background: url("../../assets/announce/mode/icon3.webp");
            }
          }

          .bottom-mask {
            position: absolute;
            width: 100%;
            height: 112px;
            background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, .8));
            bottom: 0;
            left: 0;
            display: flex;
            padding-top: 40px;
            justify-content: space-between;
            // overflow: hidden;

            .bottom-left {
              margin-left: 18px;

              .mask-txt {
                font-size: 22px;
                color: #e5e5e5;
                letter-spacing: 3px;
              }

              .mask-time {
                margin-top: 11px;
                font-size: 10px;
                color: #b8b8b8;
                letter-spacing: 1px;
              }

            }

            .bottom-right {
              margin-top: 4px;
              margin-right: 18px;

              .mask-more {
                width: 150px;
                height: 45px;
                line-height: 45px;
                font-size: 14px;
                text-align: center;
                border: solid 1px #c39b5e;
                color: #c39b5e;
                background-color: rgba(0, 0, 0, 0.5);
                overflow: hidden;

                span {
                  display: block;
                }

                &:hover {
                  span {
                    // 
                    animation:
                      .1s slideUp linear normal,
                      .1s .1s slideDown linear normal;

                    @keyframes slideUp {
                      0% {
                        transform: translateY(0);
                      }

                      100% {
                        transform: translateY(-76%);
                      }
                    }

                    @keyframes slideDown {
                      0% {
                        transform: translateY(76%);
                      }

                      100% {
                        transform: translateY(0%);
                      }
                    }

                  }

                }
              }
            }
          }

        }
      }
    }

  }

  // 底部
  .footer {
    margin: 0 auto;
    width: 1050px;
    height: 101px;
    padding-top: 30px;

    // background-color: pink;
    p {
      color: #999;
      text-align: center;

      &:nth-child(1) {

        line-height: 14px;
        font-size: 9px;

        a {
          font-size: 9px;
          color: #999;

          &:hover {
            color: #fff;
          }
        }
      }

      &:nth-child(2) {
        color: #999;
        line-height: 14px;
        font-size: 7px;

      }

      &:nth-child(3) {
        color: #999;
        line-height: 14px;
        font-size: 9px;

        &:hover {
          color: #fff;
        }
      }
    }
  }
}